package com.xlh.dto.courseTest;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author zhr 2019/2/11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QuestionTypeDTO {
    private Integer type;
    private String message;

    public static QuestionTypeDTO create(Integer type, String message){
        return new QuestionTypeDTO(type, message);
    }
}
